#include <iostream>

int main()
{
    int arr[2][3] = {{1, 2, 3}, {4, 5, 6}};
    for(int i = 0; i < 2; i++) {
        for(int j = 0; j < 3; j++) {
            std::cout << "arr[" << i << "][" << j << "] = " << arr[i][j] << '\t' << &arr[i][j] << std::endl;
        }
        std::cout << std::endl;
    }

    for(int i = 0; i < 6; i++) {
        std::cout << *arr[i] << '\t' << arr[i] << std::endl;
    }


    return 0;
}
